package cn.powertime.evaluation.service;

import cn.powertime.evaluation.entity.DbqNews;
import cn.powertime.evaluation.vo.DbqAnswerVo;
import cn.powertime.evaluation.vo.WebReqNewsSearchVo;
import cn.powertime.evaluation.vo.WebRespNewsListVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 广告/新闻表 服务类
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
public interface DbqNewsService extends IService<DbqNews> {

    IPage<WebRespNewsListVo> newsList(Page page, WebReqNewsSearchVo params);

    List<DbqAnswerVo> answerQuery(Long uid);
}
